<template>
  <div>
    <el-container> 
      <el-header>
        <Header />
      </el-header>
      <el-container>
        <el-aside width="200px" style="height:100vh;">
          <Left />
        </el-aside>
        <el-main style="height:100vh;">
          <div class="main" style="flex=1;padding:20px">
            <Bread />
            <router-view></router-view>
          </div>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script>
import Header from "@/components/Header";
import Left from "@/components/Left";
import Bread from "@/components/Bread";
export default {
  components: {
    Header,
    Left,
    Bread
  }
};
</script>

<style  scoped>
.el-header {
  padding: 0;
}
.el-footer {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  padding: 0;
}

body > .el-container {
  margin-bottom: 40px;
}
</style>